package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备视频通道对象 cz_equipment_channel
 * 
 * @author ruoyi
 * @date 2022-01-10
 */
@ApiModel(description= "设备视频通道对象")
public class CzEquipmentChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value ="主键")
    private String id;

    /** 通道名称 */
    @Excel(name = "通道名称")
    @ApiModelProperty(value ="通道名称")
    private String name;

    /** 通道代码 */
    @Excel(name = "通道代码")
    @ApiModelProperty(value ="通道代码")
    private String code;
    
    /** 通道代码 */
    @Excel(name = "通道地址")
    @ApiModelProperty(value ="通道地址")
    private String path;

    /** 设备编号 */
    @Excel(name = "设备编号")
    @ApiModelProperty(value ="设备编号")
    private String equipmentSerialNo;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    
    public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public void setEquipmentSerialNo(String equipmentSerialNo) 
    {
        this.equipmentSerialNo = equipmentSerialNo;
    }

    public String getEquipmentSerialNo() 
    {
        return equipmentSerialNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("equipmentSerialNo", getEquipmentSerialNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
